@echo off & setlocal EnableDelayedExpansion
for /f "delims=" %%a in ('dir /b /ad /s^|sort /r') do (
set /a k=0
for /f "tokens=*" %%i in ('dir /a/b/s %%a') do set /a k=1
if !k!==0 echo cd.> "%%a\.zhuzhu" 
)
)

pause